package com.systop.domain.vo;

import com.systop.validator.group.AddGroup;
import com.systop.validator.group.UpdateGroup;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

/**
 * @Description: TODO
 * @Author: jsj
 * @Date: 2023/2/28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockConditions {
    @Min(value = 0,message = "库存条件不能小于0")
    private Integer stockNum;
    @Min(value = 0,message = "锁定库存条件不能小于0")
    private Integer lockStockNum;
}
